<template>
  <div class="search-container">
    <div class="search-bar">

    </div>
    <div class="search-result"></div>
  </div>
</template>

<script>
import TitleBar from '../../components/TitleBar'
export default {
  name: "HelloWorld",
  data() {
    return {
        title: "",
        source: "",
        content: ""
    };
  },
  mounted() {
		let article = this.$route.params;
		this.title = article.title;
    this.source = article.source;
    if(article.content) {
  		this.content = article.content.replace('&quot;', '"');
    }
  },
  components: {
    TitleBar
  }
};
</script>

<!-- v-html 中的内容不含在scope中  不能加scoped-->
<style lang="less">
.search-container {
  width: 100%;
  height: 100%;
  overflow: scroll;

}
</style>
